.class public Lcom/estrongs/android/pop/app/log/viewHolder/a;
.super Ljava/lang/Object;
.source "PremiumReportHelp.java"


# direct methods
.method public static a()V
    .locals 3

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f11065f

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f11051a

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/log/viewHolder/a$b;

    invoke-direct {v1}, Lcom/estrongs/android/pop/app/log/viewHolder/a$b;-><init>()V

    const v2, 0x7f110b0d

    .line 4
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/app/log/viewHolder/a$a;

    invoke-direct {v1}, Lcom/estrongs/android/pop/app/log/viewHolder/a$a;-><init>()V

    const v2, 0x7f110b0c

    .line 5
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const/4 v1, 0x0

    .line 6
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(Z)Lcom/estrongs/android/ui/dialog/q$n;

    .line 7
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Z)Lcom/estrongs/android/ui/dialog/q$n;

    .line 8
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    return-void
.end method

.method public static a(Lcom/estrongs/android/statistics/TraceRoute;)V
    .locals 3

    .line 22
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "action"

    const-string v2, "pps"

    .line 23
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "lgState"

    .line 24
    invoke-static {}, Lcom/estrongs/android/pop/wxapi/h;->c()Lcom/estrongs/android/pop/wxapi/h;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/wxapi/h;->a()Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string v1, "reas"

    const-string v2, ""

    .line 25
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 26
    invoke-virtual {p0, v0}, Lcom/estrongs/android/statistics/TraceRoute;->toJson(Lorg/json/JSONObject;)V

    .line 27
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string v1, "pptrace_cn"

    invoke-virtual {p0, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public static a(Les/wk;)V
    .locals 6

    .line 9
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "event"

    const-string v2, "premium_pay"

    .line 10
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "isRetain"

    .line 11
    invoke-virtual {p0}, Les/wk;->b()I

    move-result v2

    const/16 v3, 0x12

    if-ne v2, v3, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string v1, "from"

    .line 12
    invoke-virtual {p0}, Les/wk;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "buy_type"

    .line 13
    invoke-virtual {p0}, Les/wk;->e()Les/dp;

    move-result-object v2

    iget-object v2, v2, Les/dp;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "buy_duration"

    .line 14
    invoke-virtual {p0}, Les/wk;->e()Les/dp;

    move-result-object v2

    iget v2, v2, Les/dp;->e:I

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string v1, "buy_price"

    .line 15
    invoke-virtual {p0}, Les/wk;->e()Les/dp;

    move-result-object v2

    iget-wide v2, v2, Les/dp;->d:J

    const-wide/16 v4, 0x64

    div-long/2addr v2, v4

    invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string v1, "previp"

    .line 16
    invoke-virtual {p0}, Les/wk;->d()Z

    move-result p0

    invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    .line 17
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string v1, "success"

    invoke-virtual {p0, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public static a(Les/wk;Ljava/lang/String;)V
    .locals 2

    .line 18
    :try_start_0
    new-instance p0, Lorg/json/JSONObject;

    invoke-direct {p0}, Lorg/json/JSONObject;-><init>()V

    const-string v0, "event"

    const-string v1, "premium_pay"

    .line 19
    invoke-virtual {p0, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v0, "reas"

    .line 20
    invoke-virtual {p0, v0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 21
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "fail"

    invoke-virtual {p1, v0, p0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public static a(Ljava/lang/String;)V
    .locals 2

    .line 41
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "prst_cn"

    invoke-virtual {v0, v1, p0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Ljava/lang/String;Ljava/lang/String;Les/dp;)V
    .locals 6

    .line 28
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    .line 29
    :try_start_0
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v1

    invoke-virtual {v1}, Les/b00;->f()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "forervervip"

    goto :goto_0

    .line 30
    :cond_0
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v1

    invoke-virtual {v1}, Les/b00;->i()Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v1, "vip"

    goto :goto_0

    :cond_1
    const-string v1, "notvip"

    :goto_0
    const-string v2, "page"

    .line 31
    invoke-virtual {v0, v2, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "btn"

    const-string v2, "premium_pay"

    .line 32
    invoke-virtual {v0, p0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "buy_type"

    .line 33
    iget-object v2, p2, Les/dp;->f:Ljava/lang/String;

    invoke-virtual {v0, p0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "buy_duration"

    .line 34
    iget v2, p2, Les/dp;->e:I

    invoke-virtual {v0, p0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string p0, "buy_price"

    .line 35
    iget-wide v2, p2, Les/dp;->d:J

    const-wide/16 v4, 0x64

    div-long/2addr v2, v4

    invoke-virtual {v0, p0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string p0, "from"

    .line 36
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "vipstate"

    .line 37
    invoke-virtual {v0, p0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "islg"

    .line 38
    invoke-static {}, Lcom/estrongs/android/pop/wxapi/h;->c()Lcom/estrongs/android/pop/wxapi/h;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/wxapi/h;->a()Z

    move-result p1

    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    .line 39
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "click"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p0

    .line 40
    invoke-virtual {p0}, Lorg/json/JSONException;->printStackTrace()V

    :goto_1
    return-void
.end method
